#ifndef _USER_DATA_H_
#define _USER_DATA_H_

#include "main.h"

typedef struct
{
    uint16_t input_volt;
    uint16_t output_volt;
    uint16_t output_current;
    uint16_t output_power;

    uint8_t out_state;
    uint8_t display_diff_time;
    uint16_t set_item;

    uint8_t set_en_flag;
    uint8_t set_flicker_flag;
} user_data_t;

typedef struct
{
    uint8_t ver;
    uint32_t write_cont;
    uint16_t set_volt;
    uint16_t set_current;
} user_param_t;

extern user_param_t user_param;
extern user_data_t user_data;
#endif
